package designpatterns.command;

public class Command1 implements Command {
    private final Receiver receiver;

    public Command1() {
        this.receiver = new Receiver();
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
